package com.simple.auth.domain.vo;

import com.simple.framework.core.domain.BaseUser;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Description 认证成功返回VO
 * @Author xiaoke
 * @Date 2024/8/10 18:00
 * @Version 1.0
 */
@Data
public class AuthSuccessVO {
    // 用户信息
    private BaseUser user;
    // 权限信息
    private List<String> permissions;
    // token
    private String accessToken;
    // 刷新token
    private String refreshToken;
    // 过期时间
    private LocalDateTime expires;
}
